package com.tao.design.decorator;

/**
 * @projectName: DesignMode
 * @package: com.tao.design.decorator
 * @className: ManDecoratorA
 * @author: TT_Hugo
 * @description: TODO
 * @date: 2022/12/26 21:20
 * @version: 1.0
 */
public class ManDecoratorA extends Decorator{

    @Override
    public void eat(){
        super.eat();
        reEat();
        System.out.println("ManDecoratorA类");
    }

    private void reEat() {
        System.out.println("再吃一顿饭！");
    }
}
